package com.evl.common.persistence.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangliwei
 * @since 2017-06-14
 */
@TableName("refund_order")
public class RefundOrder extends Model<RefundOrder> {

    private static final long serialVersionUID = 1L;

	private Integer id;
	@TableField("refund_no")
	private String refundNo;
	@TableField("openid")
	private String openid;
	@TableField("ticket_id")
	private Integer ticketId;
	@TableField("old_price")
	private Double oldPrice;
	@TableField("refund_price")
	private Double refundPrice;
	@TableField("diff_price")
	private Double diffPrice;
	private String status;
	@TableField("apply_time")
	private Date applyTime;
	@TableField("audit_time")
	private Date auditTime;
	@TableField("audit_id")
	private Integer auditId;
	@TableField("order_no")
	private String orderNo;
	@TableField("order_id")
	private String orderId;
	@TableField("refund_radio")
	private Double refundRadio;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRefundNo() {
		return refundNo;
	}

	public void setRefundNo(String refundNo) {
		this.refundNo = refundNo;
	}

	public Integer getTicketId() {
		return ticketId;
	}

	public void setTicketId(Integer ticketId) {
		this.ticketId = ticketId;
	}

	public Double getOldPrice() {
		return oldPrice;
	}

	public void setOldPrice(Double oldPrice) {
		this.oldPrice = oldPrice;
	}

	public Double getRefundPrice() {
		return refundPrice;
	}

	public void setRefundPrice(Double refundPrice) {
		this.refundPrice = refundPrice;
	}

	public Double getDiffPrice() {
		return diffPrice;
	}

	public void setDiffPrice(Double diffPrice) {
		this.diffPrice = diffPrice;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getApplyTime() {
		return applyTime;
	}

	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	public Integer getAuditId() {
		return auditId;
	}

	public void setAuditId(Integer auditId) {
		this.auditId = auditId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Double getRefundRadio() {
		return refundRadio;
	}

	public void setRefundRadio(Double refundRadio) {
		this.refundRadio = refundRadio;
	}

}
